import { reqLogin } from '@/api'
const actions = {
    async login({ commit }, data) {
        let result = await reqLogin(data)
         localStorage.setItem('TOKEN',result.result.token)
    }
}
const mutations = {}
const state = {}
const getter = {}
export default {
    actions,
    mutations,
    state,
    getter
}